package diona.nlp

import com.aliasi.tokenizer.{TokenizerFactory, ModifyTokenTokenizerFactory}

/**
 * User: anton
 * Date: 10.07.11 14:38
 */
class RussianStemmerTokenizerFactory(val factory: TokenizerFactory) extends ModifyTokenTokenizerFactory(factory)
{
  override def modifyToken(token: String) = PorterStemmer.stem(token)
}